<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>scanf</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : May 1994</div>
    <p>
      <b>scanf</b> -  Converts formatted input on standard input</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt> [v_1,...v_n]=scanf (format);  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>format</b>
        </tt>:Specifies the format conversion.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    The scanf functions get character data on standard input (%io(1)), interpret it according
    to a format, and returns the converted results.
  </p>
    <p>
    The format parameter contains conversion specifications
    used to interpret the input.
  </p>
    <p>
    The format parameter can contain
    white-space characters (blanks, tabs, newline, or formfeed)
    that, except in the following two cases, read the input up to the
    next nonwhite-space character. Unless there is a match in the control
    string, trailing white space (including a newline character) is not
    read.
  </p>
    <dl>
      <dd>
        <b>-</b>Any character except % (percent sign), which must match the next character of the input stream.</dd>
      <dd>
        <b>-</b>A conversion specification that directs the conversion of the next input field. see <tt>
          <b>scanf_conversion</b>
        </tt> for details.</dd>
    </dl>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="printf.htm">
        <tt>
          <b>printf</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="read.htm">
        <tt>
          <b>read</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="fscanf.htm">
        <tt>
          <b>fscanf</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="sscanf.htm">
        <tt>
          <b>sscanf</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
